package com.nt.train.entity;

import java.io.Serializable;

/**
 * @author hlf
 * @version 1.0
 * @date 2022/8/4 7:55
 */
public class StudentPO implements Serializable {

    private Integer id;

    private String name;

    private String age;

    public StudentPO() {
    }

    public StudentPO(String name, String age) {
        this.name = name;
        this.age = age;
    }

    public StudentPO(Integer id, String name, String age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "StudentPO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
